<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-show 指令</title>
</head>
<body>
<div id="app">
    <h1 v-show="isShow">Hello, World!</h1>
    <h1 v-show="!isShow">Hello, World!</h1>
</div>
<script type="module">
    import {createApp, ref} from "../../../../../js/vue.esm-browser.js";

    const app = createApp({
        setup(){
            let isShow = ref(true)
            return {
                isShow,
            }
        }
    })
    app.mount("#app")
</script>
</body>
</html>